Module for eigenvalue and eigenvector computations in NAFPack
Computes the eigenvalues and eigenvectors of a matrix A with A a square matrix, λ the eigenvalue, and v the eigenvector. This subroutine allows you to choose the method for computing eigenvalues and eigenvectors:
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in), | DIMENSION(:, :) | :: | A | ||
real(kind=dp), | intent(out), | DIMENSION(:) | :: | lambda | ||
real(kind=dp), | intent(out), | optional, | DIMENSION(:, :) | :: | vp | |
character(len=*), | intent(in), | optional | :: | method | ||
integer, | intent(in), | optional | :: | k |